package com.example.forum.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.util.Date;

/*
    评论
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Comment {
    private int id;
    private int userId;
    private int entityType; //评论类型  1:帖子的评论  2:评论的评论
    private int entityId;   //这个类型目标的id
    private int targetId;
    private String content;
    private int status;
    private Date createTime;
}
